package com.xianbeiying.app.ckgl.bean;

/**
 * 更新大棚数据
 */
public class EdUpBean {

    /**
     * K : UPDATE_GREENHOUSE
     * V : {"GREENHOUSE":{"greenhouseid":1,"houseName":"大棚1","cropId":2,"cropType":1,"growType":1,"houseType":0,"houseTypeName":"luse","houseArea":1000,"houseX":20,"houseY":30,"houseAddPro":1,"houseAddCity":1,"houseAddDist":1,"houseAddOther":"gaoxin","plantTime":null,"plantDuration":900,"plantYield":800,"plantArea":1000,"soilN":22,"soilP":33,"soilK":11,"remark":null,"crop":null}}
     * R : true
     * ERR_MSG :
     */

    private String K;
    /**
     * GREENHOUSE : {"greenhouseid":1,"houseName":"大棚1","cropId":2,"cropType":1,"growType":1,"houseType":0,"houseTypeName":"luse","houseArea":1000,"houseX":20,"houseY":30,"houseAddPro":1,"houseAddCity":1,"houseAddDist":1,"houseAddOther":"gaoxin","plantTime":null,"plantDuration":900,"plantYield":800,"plantArea":1000,"soilN":22,"soilP":33,"soilK":11,"remark":null,"crop":null}
     */

    private VBean V;
    private boolean R;
    private String ERR_MSG;

    public String getK() {
        return K;
    }

    public void setK(String K) {
        this.K = K;
    }

    public VBean getV() {
        return V;
    }

    public void setV(VBean V) {
        this.V = V;
    }

    public boolean isR() {
        return R;
    }

    public void setR(boolean R) {
        this.R = R;
    }

    public String getERR_MSG() {
        return ERR_MSG;
    }

    public void setERR_MSG(String ERR_MSG) {
        this.ERR_MSG = ERR_MSG;
    }

    public static class VBean {
        /**
         * greenhouseid : 1
         * houseName : 大棚1
         * cropId : 2
         * cropType : 1
         * growType : 1
         * houseType : 0
         * houseTypeName : luse
         * houseArea : 1000
         * houseX : 20.0
         * houseY : 30.0
         * houseAddPro : 1
         * houseAddCity : 1
         * houseAddDist : 1
         * houseAddOther : gaoxin
         * plantTime : null
         * plantDuration : 900
         * plantYield : 800
         * plantArea : 1000
         * soilN : 22.0
         * soilP : 33.0
         * soilK : 11.0
         * remark : null
         * crop : null
         */

        private GREENHOUSEBean GREENHOUSE;

        public GREENHOUSEBean getGREENHOUSE() {
            return GREENHOUSE;
        }

        public void setGREENHOUSE(GREENHOUSEBean GREENHOUSE) {
            this.GREENHOUSE = GREENHOUSE;
        }

        public static class GREENHOUSEBean {
            private int greenhouseid;
            private String houseName;
            private int cropId;
            private int cropType;
            private int growType;
            private int houseType;
            private String houseTypeName;
            private int houseArea;
            private double houseX;
            private double houseY;
            private int houseAddPro;
            private int houseAddCity;
            private int houseAddDist;
            private String houseAddOther;
            private Object plantTime;
            private int plantDuration;
            private int plantYield;
            private int plantArea;
            private double soilN;
            private double soilP;
            private double soilK;
            private Object remark;
            private Object crop;

            public int getGreenhouseid() {
                return greenhouseid;
            }

            public void setGreenhouseid(int greenhouseid) {
                this.greenhouseid = greenhouseid;
            }

            public String getHouseName() {
                return houseName;
            }

            public void setHouseName(String houseName) {
                this.houseName = houseName;
            }

            public int getCropId() {
                return cropId;
            }

            public void setCropId(int cropId) {
                this.cropId = cropId;
            }

            public int getCropType() {
                return cropType;
            }

            public void setCropType(int cropType) {
                this.cropType = cropType;
            }

            public int getGrowType() {
                return growType;
            }

            public void setGrowType(int growType) {
                this.growType = growType;
            }

            public int getHouseType() {
                return houseType;
            }

            public void setHouseType(int houseType) {
                this.houseType = houseType;
            }

            public String getHouseTypeName() {
                return houseTypeName;
            }

            public void setHouseTypeName(String houseTypeName) {
                this.houseTypeName = houseTypeName;
            }

            public int getHouseArea() {
                return houseArea;
            }

            public void setHouseArea(int houseArea) {
                this.houseArea = houseArea;
            }

            public double getHouseX() {
                return houseX;
            }

            public void setHouseX(double houseX) {
                this.houseX = houseX;
            }

            public double getHouseY() {
                return houseY;
            }

            public void setHouseY(double houseY) {
                this.houseY = houseY;
            }

            public int getHouseAddPro() {
                return houseAddPro;
            }

            public void setHouseAddPro(int houseAddPro) {
                this.houseAddPro = houseAddPro;
            }

            public int getHouseAddCity() {
                return houseAddCity;
            }

            public void setHouseAddCity(int houseAddCity) {
                this.houseAddCity = houseAddCity;
            }

            public int getHouseAddDist() {
                return houseAddDist;
            }

            public void setHouseAddDist(int houseAddDist) {
                this.houseAddDist = houseAddDist;
            }

            public String getHouseAddOther() {
                return houseAddOther;
            }

            public void setHouseAddOther(String houseAddOther) {
                this.houseAddOther = houseAddOther;
            }

            public Object getPlantTime() {
                return plantTime;
            }

            public void setPlantTime(Object plantTime) {
                this.plantTime = plantTime;
            }

            public int getPlantDuration() {
                return plantDuration;
            }

            public void setPlantDuration(int plantDuration) {
                this.plantDuration = plantDuration;
            }

            public int getPlantYield() {
                return plantYield;
            }

            public void setPlantYield(int plantYield) {
                this.plantYield = plantYield;
            }

            public int getPlantArea() {
                return plantArea;
            }

            public void setPlantArea(int plantArea) {
                this.plantArea = plantArea;
            }

            public double getSoilN() {
                return soilN;
            }

            public void setSoilN(double soilN) {
                this.soilN = soilN;
            }

            public double getSoilP() {
                return soilP;
            }

            public void setSoilP(double soilP) {
                this.soilP = soilP;
            }

            public double getSoilK() {
                return soilK;
            }

            public void setSoilK(double soilK) {
                this.soilK = soilK;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(Object remark) {
                this.remark = remark;
            }

            public Object getCrop() {
                return crop;
            }

            public void setCrop(Object crop) {
                this.crop = crop;
            }
        }
    }
}
